package edu.hawaii.duedates.lender;

/**
 * User exception class for BorrowedItem class.
 * 
 * @author Daniel Tian
 * @author Aric West
 *
 */
public class BorrowedItemException extends Exception {
  /**
   * Don't know what this is, but Eclipse says it's recommended to have it.
   */
  private static final long serialVersionUID = 1L;
  
  /**
   * Constructor with error message.
   * 
   * @param errorMessage The error message.
   */
  public BorrowedItemException(String errorMessage) {
    super(errorMessage);
  }
  
  /**
   * Constructor with error message and cause of exception.
   * 
   * @param errorMessage The error message.
   * @param e The Exception that caused this exception.
   */
  public BorrowedItemException(String errorMessage, Exception e) {
    super(errorMessage, e);
  }
}
